<%-- 
    Document   : projectManagement
    Created on : 2015-4-24, 0:02:08
    Author     : Lin Duxiang
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <link rel="stylesheet" type="text/css" href="front/css/home-page.css"/>
        <link rel="stylesheet" type="text/css" href="front/css/projectManagement.css"/>
        <link rel="stylesheet" type="text/css" href="front/css/jquery.mCustomScrollbar.css"/>
        <script src="front/js/jquery-1.11.2.js"></script>
        <script src="front/js/jquery.mCustomScrollbar.concat.min.js"></script>
        <script src="front/js/home-page.js"></script>
        <script src="front/js/projectManagement.js"></script>
        <title>项目管理</title>
    </head>
    <body class="all-page projectManagement">
        <div class="header">
            <ul class="parent">
                <li><a href="login">首页</a></li>
                <li><a href="#">个人信息</a>
                    <ul>
                        <li><a href="/LabRegistration/modify">修改个人信息</a></li>
                        <li><a href="/LabRegistration/modifyPassword">修改个人密码</a></li>
                        <li><a href="/LabRegistration/borrowInformation">查看借阅信息</a></li>
                        <li><a href="/LabRegistration/attendanceHistory">查看签到历史</a></li>
                    </ul>
                </li>
                <li><a href="#">文件中心</a>
                    <ul>
                        <li><a href="upload">上传文件</a></li>
                        <li><a href="chackFile">查找文件</a></li>
                    </ul>
                </li>
                <li><a href="GoodsCenter">物品中心</a>
                    <ul>
                    </ul>
                </li>
                <li><a>项目管理</a>
                    <ul>
                        <li><a href="projectManagement">所有项目</a></li>
                        <li><a href="myProject">我的项目</a></li>
                    </ul>
                </li>
                <li><a href="project-register"  id="menu"><span>活动报名</span></a>
                    <ul>
                    </ul>
                </li>
                <li><a href="gitAndBlog.html">分享交流</a>
                    <ul></ul>
                </li>			
            </ul>
            <div class="current-and-exit">
                <a class="exit" href="loginout">退出登录</a>
                <p class="current-user">当前用户：${loginUser.getUserName()}</p>
            </div>
        </div>
        <p class="copyrights">copyrights © 2015-2016 SCAU E-TOP</p>

        <p class="title">所有项目</p>
        <div class="forScroll">
            <c:forEach var="project" items="${pros}">
                <div class="singlePanel">
                    <div class="headline">
                        <p class="name">${project.name}</p>
                        <p class="personInCharge">项目负责人：<c:forEach var="leader" items="${project.listOfLeaders}"> <span>${leader}</span></c:forEach></p>
                        <p class="startTime">于<span><fmt:formatDate value="${project.start_time}" type="date" pattern="yyyy-MM"/></span>开展</p>
                        <p class="latestNews">最新动态：<span><c:out value="${project.listOfSchedules.size()}"/></span></p>
                    </div>
                    <div class="detail">
                        <p class="projectMember">项目成员：<c:forEach var="member" items="${project.listOfMembers}"><span>${member}</span></c:forEach></p>
                        <c:forEach var="sches" items="${project.listOfSchedules}">
                            <div class="oneSession">
                                <p class="releaseTime"><span>${sches.time}</span></p>
                                <p class="onePassage"><span></span>${sches.sche_desc}</p>
                            </div>
                        </c:forEach>
                    </div>
                </div><!--singlePanel-->
            </c:forEach>
        </div><!--forScroll-->
    </body>
</html>

